package com.bank.basic.service.client;

import com.bank.model.vo.user.UserVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author Cejay1314
 * @version 1.0
 * @create 2023/4/5 10:46
 */
@FeignClient(name = "service-list", url = "http://localhost:8083/user/list")
@Component
public interface ListService {
    @GetMapping("/user")
    List<UserVo> getUserVo();
}
